Update Session with Payer Data
Request to add or update payer-specific request fields contained in the session.
Authentication
This operation requires authentication via one of the following methods:
- Certificate authentication.
- 
                            
                                            To authenticate to the API two additional NVP parameters must be supplied in the request.
                                            Provide 'merchant.<your gateway merchant ID>' in the apiUsername field and your API password in the apiPassword field.
Request
Fields
String
                        = UPDATE_PAYER_DATA
                                    FIXED
                                
                Any sequence of zero or more unicode characters.
Details of the payer's billing address.
The payer's billing address.
This data may be used to qualify for better interchange rates on corporate purchase card transactions.
String
                        
                                            OPTIONAL
                                
                The city portion of the address.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The name of the company associated with this address.
Data can consist of any characters
Upper case alphabetic text
                        
                                            OPTIONAL
                                
                The 3 letter ISO standard alpha country code of the address.
Data must consist of the characters A-Z
Alphanumeric + additional characters
                        
                                            OPTIONAL
                                
                The post code or zip code of the address.
Data may consist of the characters 0-9, a-z, A-Z, ' ', '-'
String
                        
                                            OPTIONAL
                                
                The state or province of the address.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The first line of the address.
For example, this may be the street name and number, or the Post Office Box details.
Note: The transaction response will contain a concatenation of street and street2 data. If the concatenated value is more than the maximum field length, street2 data will be truncated.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The second line of the address (if provided).
Note: This field will be empty in the transaction response, as street2 data will be concatenated into the street field.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                A transient identifier for the request, that can be used to match the response to the request.
The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request.
Data can consist of any characters
Information about the customer, including their contact details.
Email
                        
                                            OPTIONAL
                                
                The email address of the customer.
The field format restriction ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses.
Ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses
String
                        
                                            OPTIONAL
                                
                The payer's first name.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The payer's last or surname.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The contact person's mobile phone or cell phone number.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The phone number of the person to whom the order is being billed.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The tax registration identifier of the customer.
Data can consist of any characters
Information associated with the device's source of transaction.
String
                        
                                            OPTIONAL
                                
                The User-Agent header of the browser the customer used to place the order.
For example, MOZILLA/4.0 (COMPATIBLE; MSIE 5.0; WINDOWS 95)
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                Information collected about a remote computing device for the purpose of providing a unique identifier for the device.
For example, session ID, blackbox ID.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The name of the server to which the customer is connected.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The IP address of the computer used by the customer, in nnn.nnn.nnn.nnn format.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The mobile phone manufacturer's identifier for the model of the mobile device used to initiate the payment.
Data can consist of any characters
Alphanumeric + additional characters
                        REQUIRED
                                        
                The unique identifier issued to you by your payment provider.
This identifier can be up to 12 characters in length.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_'
Information about the order associated with this transaction.
Enumeration
                        
                                            OPTIONAL
                                
                The wallet provider used to collect the customer's payment details used for this transaction.
Value must be a member of the following list. The values are case sensitive.
APPLE_PAY
                                        Apple Pay mobile wallet provider.
CHASE_PAY
                                        Chase Pay wallet provider.
GOOGLE_PAY
                                        Google Pay mobile wallet provider.
MASTERPASS_ONLINE
                                        MasterPass Online wallet provider.
SAMSUNG_PAY
                                        Samsung Pay mobile wallet provider.
VISA_CHECKOUT
                                        Visa Checkout wallet provider.
ASCII Text
                        REQUIRED
                                        
                The identifier of the payment session.
Data consists of ASCII characters
ASCII Text
                        
                                            OPTIONAL
                                
                Use this field to implement optimistic locking of the session content.
Do this if you make business decisions based on data from the session and wish to ensure that the same data is being used for the request operation.
To use optimistic locking, record session.version when you make your decisions, and then pass that value in session.version when you submit your request operation to the gateway.
If session.version provided by you does not match that stored against the session, the gateway will reject the operation with error.cause=INVALID_REQUEST.
See Making Business Decisions Based on Session Content.
Data consists of ASCII characters
Information on the shipping address including the contact details of the addressee.
The address to which the goods contained in this order are being shipped.
This data may be used to qualify for better interchange rates on corporate purchase card transactions.
String
                        
                                            OPTIONAL
                                
                The city portion of the address.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The name of the company associated with this address.
Data can consist of any characters
Upper case alphabetic text
                        
                                            OPTIONAL
                                
                The 3 letter ISO standard alpha country code of the address.
Data must consist of the characters A-Z
Alphanumeric + additional characters
                        
                                            OPTIONAL
                                
                The post code or zip code of the address.
Data may consist of the characters 0-9, a-z, A-Z, ' ', '-'
String
                        
                                            OPTIONAL
                                
                The state or province of the address.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The first line of the address.
For example, this may be the street name and number, or the Post Office Box details.
Note: The transaction response will contain a concatenation of street and street2 data. If the concatenated value is more than the maximum field length, street2 data will be truncated.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The second line of the address (if provided).
Note: This field will be empty in the transaction response, as street2 data will be concatenated into the street field.
Data can consist of any characters
Details of the contact person at the address the goods will be shipped to.
Email
                        
                                            OPTIONAL
                                
                The contact person's email address.
The field format restriction ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses.
Ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses
String
                        
                                            OPTIONAL
                                
                The first name of the person to whom the order is being shipped.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The last name or surname of the person to whom the order is being shipped.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The contact person's mobile phone or cell phone number.
Data can consist of any characters
String
                        
                                            OPTIONAL
                                
                The phone number of the person to whom the order is being shipped.
Data can consist of any characters
Enumeration
                        
                                            OPTIONAL
                                
                The shipping method code to indicate the time frame and the priority of the order.
Value must be a member of the following list. The values are case sensitive.
ELECTRONIC
                                        Electronic delivery.
GROUND
                                        Ground (4 or more days).
OVERNIGHT
                                        Overnight (next day).
PRIORITY
                                        Priority (2-3 days).
SAME_DAY
                                        Same day.
Alphanumeric + additional characters
                        
                                            OPTIONAL
                                
                The post code or zip code of the address the order is shipped from.
Data may consist of the characters 0-9, a-z, A-Z, ' ', '-'
The details describing the source of the funds to be used.
For card payments these may be represented by combining one or more of the following: explicitly provided card details, a session identifier which the gateway will use to look up the card details and/or a card token. Precedence rules will be applied in that explicitly provided card details will override session card details which will override card token details. Each of these may represent partial card details, however the combination must result in a full and complete set of card details. See Using Multiple Sources of Card Details for examples.
Information about the source of funds when it is directly provided (as opposed to via a token or session).
For browser payments, the source of funds details are usually collected from the payer on the payment provider's website and provided to you when you retrieve the transaction details (for a successful transaction). However, for some payment types (such as giropay), you must collect the information from the payer and supply it here.
Details as shown on the card.
If the payer chose to pay using a device you must provide payment details in this parameter group.
Use this parameter group when accepting payments using device payment methods such as Apple Pay, Android Pay or Samsung Pay.
Use this parameter group if you decrypt the payment token yourself.
Source these fields directly from the decrypted token.
Digits
                        
                                            OPTIONAL
                                
                From decrypted payment token.
Data is a string that consists of the characters 0-9.
Base64
                        
                                            OPTIONAL
                                
                From decrypted payment token.
Data is Base64 encoded
Enumeration
                        
                                            OPTIONAL
                                
                The format of the cryptogram provided for the device payment.
You must provide the cryptogram format when you decrypt the payment token and provide the payment details (including the online payment cryptogram) in the transaction request. 
You do not need to provide the cryptogram format if you provide the payment token in sourceOfFunds.provided.card.devicePayment.paymentToken.
Value must be a member of the following list. The values are case sensitive.
3DSECURE
                                        The payment data keys for the online payment cryptogram are provided using the 3-D Secure format.
EMV
                                        The payment data keys for the online payment cryptogram are provided using the EMV format.
String
                        
                                            OPTIONAL
                                
                This is the payment token that you received from the device's payment SDK.
For example:
For Apple Pay - this is the PKPaymentToken.paymentData value.
For Google - this is PaymentMethodToken.getToken().
Note 1: The gateway API considers this value to be a string, NOT JSON itself. Therefore when using the JSON gateway API, this field will typically look like:
"sourceOfFunds": {
"provided": {
"card": {
"devicePayment": {
"paymentToken": "{\"data\":\"869ss19ew ....
Note 2: The gateway will ignore the currency and amount information in the payment token, and will instead use the values passed on the amount and currency fields. For normal usage, you should populate those fields with the exact same values as you got from the SDK.
Data can consist of any characters
Expiry date, as shown on the card.
Digits
                        
                                            OPTIONAL
                                
                Month, as shown on the card.
Months are numbered January=1, through to December=12.
Data is a number between 1 and 12 represented as a string.
Digits
                        
                                            OPTIONAL
                                
                Year, as shown on the card.
The Common Era year is 2000 plus this value.
Data is a string that consists of the characters 0-9.
If the payer chose to pay using a mobile device you must provide details from the wallet in this parameter group.
Use this parameter group when accepting payments from mobile wallet providers such as Apple Pay, Android Pay or Samsung Pay.
String
                        
                                            OPTIONAL
                                
                The cardholder's name as printed on the card.
Data can consist of any characters
Digits
                        
                                            OPTIONAL
                                
                Credit card number as printed on the card.
Data is a string that consists of the characters 0-9.
Digits
                        
                                            OPTIONAL
                                
                The first 10 digits of the card number, as printed on the card.
Data is a string that consists of the characters 0-9.
Digits
                        
                                            OPTIONAL
                                
                Card verification code, as printed on the back or front of the card.
Data is a string that consists of the characters 0-9.
Alphanumeric
                        
                                            OPTIONAL
                                
                Uniquely identifies a card and associated details.
Data may consist of the characters 0-9, a-z, A-Z
Information about this transaction.
Additional information to be passed to acquirer.
String
                        
                                            OPTIONAL
                                
                Additional information requested by the acquirer which cannot be passed using other available data fields.
This field must not contain sensitive data.
Data can consist of any characters, but sensitive data will be rejected
Response
Fields
String
                        
                                            CONDITIONAL
                                
                A transient identifier for the request, that can be used to match the response to the request.
The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request.
Data can consist of any characters
Alphanumeric + additional characters
                        ALWAYS PROVIDED
                                        
                The unique identifier issued to you by your payment provider.
This identifier can be up to 12 characters in length.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_'
ASCII Text
                        ALWAYS PROVIDED
                                        
                The Session result
Data consists of ASCII characters
ASCII Text
                        ALWAYS PROVIDED
                                        
                Use this field to implement optimistic locking of the session content.
Do this if you make business decisions based on data from the session and wish to ensure that the same data is being used for the request operation.
To use optimistic locking, record session.version when you make your decisions, and then pass that value in session.version when you submit your request operation to the gateway.
See Making Business Decisions Based on Session Content.
Data consists of ASCII characters
Errors
Information on possible error conditions that may occur while processing an operation using the API.
Enumeration
                        
                Broadly categorizes the cause of the error.
For example, errors may occur due to invalid requests or internal system failures.
Value must be a member of the following list. The values are case sensitive.
INVALID_REQUEST
                                        The request was rejected because it did not conform to the API protocol.
REQUEST_REJECTED
                                        The request was rejected due to security reasons such as firewall rules, expired certificate, etc.
SERVER_BUSY
                                        The server did not have enough resources to process the request at the moment.
SERVER_FAILED
                                        There was an internal system failure.
String
                        
                Textual description of the error based on the cause.
This field is returned only if the cause is INVALID_REQUEST or SERVER_BUSY.
Data can consist of any characters
String
                        
                Indicates the name of the field that failed validation.
This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.
Data can consist of any characters
String
                        
                Indicates the code that helps the support team to quickly identify the exact cause of the error.
This field is returned only if the cause is SERVER_FAILED or REQUEST_REJECTED.
Data can consist of any characters
Enumeration
                        
                Indicates the type of field validation error.
This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.
Value must be a member of the following list. The values are case sensitive.
INVALID
                                        The request contained a field with a value that did not pass validation.
MISSING
                                        The request was missing a mandatory field.
UNSUPPORTED
                                        The request contained a field that is unsupported.
Enumeration
                        
                A system-generated high level overall result of the operation.
Value must be a member of the following list. The values are case sensitive.
ERROR
                                        The operation resulted in an error and hence cannot be processed.